﻿@{
    ViewBag.Title = "菜单管理";
}

<div id="breadcrumb">
    <a href="#"><i class="fa fa-bookmark"></i> 系统管理</a>
    <a href="#" class="current">菜单管理</a>
</div>

<div class="row">
    <div class="col-xs-12">
        <div class="form-horizontal">
            <ul class="wysihtml5-toolbar">
                <li>
                    <button id="btnadd" class="btn btn-small btn-primary">新增</button>
                    <button id="btndel" class="btn btn-small btn-danger">删除</button>
                    <a href="~/Content/iconfont/demo_fontclass.html" target="_blank">图标库</a>
                </li>
                <li class="toolbar-right">
                    <div class="input-group nopadding" style="width:300px;">
                        <input class="form-control" type="text" style="height:27px;" id="searchkey" data-fieldname="searchkey" placeholder="输入菜单名称或URL">
                        <span class="input-group-btn">
                            <button id="btnquery" class="btn btn-primary" type="button"><i class="fa fa-search"></i> 查询</button>
                        </span>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>

<div class="row">
    <div class="col-xs-12" data-autosize="true">
        <table id="datagrid" data-form="easyui" data-options="fit:true"></table>
    </div>
</div>

<div id="popmenu" class="easyui-menu" style="width:140px;display:none;">
    <div id="addmenu">添加同级</div>
    <div id="addsubmenu">添加下级</div>
    <div class="menu-sep"></div>
    <div id="addfunc">添加模块</div>
    <div class="menu-sep"></div>
    <div id="delmenu">删除</div>
</div>

@section scripts{
    <script type="text/javascript">
        @*//var canEdit = @ViewBag.CanEdit;*@
    </script>
    <script type="text/javascript" src="~/Scripts/app/manage/menu.list.js?ver=@WebApp.BLL.CommonStr.Ver"></script>
}